import { EAchieveStatus } from "../../../../../Message/Game/EAchieveStatus";
import { AchievementBonusData } from "./AchievementBonusData";
type int = number;
//class AchievementMinorData
    
    export  class AchievementMinorData
    {
        

        public isCanGetBonus(): Boolean
        {
            return this.status == EAchieveStatus._EAchieveStatusCompelete;
        }

        public get isBonusGot(): Boolean
        {
            return this.status == EAchieveStatus._EAchieveStatusHadEnd;
        }

        public get isFinished(): Boolean
        {
            return this.status == EAchieveStatus._EAchieveStatusCompelete || this.status == EAchieveStatus._EAchieveStatusHadEnd;
        }

        public get isNotOpened(): Boolean
        {
            return this.status == EAchieveStatus._EAchieveStatusNotOpen;
        }

        public get isAchievementProcessing(): Boolean
        {
            return this.status == EAchieveStatus._EAchieveStatusNotCompelete;
        }

        public /* var */category: int;

        public /* var */type: int;

        public /* var */name: string;

        public /* var */desc: string;

        public /* var */curValue: int;

        public /* var */totalValue: int;

        public /* var */achievementLevel: int;

        public /* var */iconCode: int;

        public /* var */bonusData: AchievementBonusData;

        public /* var */code: int;

        public /* var */isEnd: Boolean;

        public /* var */status: int;
    }
